<?php
	echo doctype('html5');
?>

<html>
	
	
	
	
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title><?php echo $template['title'];?></title>

	<meta name="description" 	content="" />
	<meta name="author" 		content="" />

	<?php 
		foreach ($groupLibraries as $lib) {
			$this->carabiner->display($lib);
		}	
		$this->carabiner->display();
	?>
	
	<script>
		window.ajaxUrl = "<?php echo $ajaxUrl;?>";
	</script>
        <!-- Fluid 960 Grid System - CSS framework -->
		<!-- <link rel="stylesheet" type="text/css" name="grid.css" href="http://www.xooom.pl/work/magicadmin/css/grid.css" media="screen" />-->
		
        <!-- IE Hacks for the Fluid 960 Grid System -->
        <!--[if IE 6]><link rel="stylesheet" type="text/css" name="ie6.css" href="http://www.xooom.pl/work/magicadmin/css/ie6.css" media="screen" /><![endif]-->
		<!--[if IE 7]><link rel="stylesheet" type="text/css" name="ie.css" href="http://www.xooom.pl/work/magicadmin/css/ie.css" media="screen" /><![endif]-->
         

	 	<!-- Themes. Below are several color themes. Uncomment the line of your choice to switch to different color. All styles commented out means blue theme. -->
       	<!-- <link rel="stylesheet" type="text/css" name="theme-blue.css" href="http://www.xooom.pl/work/magicadmin/css/theme-blue.css" media="screen" />-->
        <!--<link rel="stylesheet" type="text/css" name="css/theme-red.css" media="screen" />-->
        <!--<link rel="stylesheet" type="text/css" name="css/theme-yellow.css" media="screen" />-->
        <!--<link rel="stylesheet" type="text/css" name="css/theme-green.css" media="screen" />-->
        <!--<link rel="stylesheet" type="text/css" name="css/theme-graphite.css" media="screen" />-->
        

</head>






<body>

		<!-- Header -->
        <div id="header">
            <!-- Header. Status part -->
            <div id="header-status">
                <div class="container_12">
                    <div class="grid_8">
					&nbsp;
                    </div>
                    <div class="grid_4">
                    	
                    	<?php echo anchor("School/logout","Logout",array("id"=>"logout"));?>
                    	<!--
                        <a href="" id="logout">
                        	Logout
                        </a>
                        -->
                        
                    </div>
                </div>
                <div style="clear:both;"></div>
            </div> <!-- End #header-status -->
            
            <!-- Header. Main part -->
            <div id="header-main">
                <div class="container_12">
                    <div class="grid_12">
                        <div id="logo">
                        
                        	<?php echo $menu;?>
                        	<!-- 
                            <ul id="nav">
                                <li><a href="">Principal</a></li>
                                <li><a href="">Ofertas</a></li>
                                <li><a href="">horarios</a></li>
                                <li id="actual"><a href="">Reservas</a></li>
                            </ul>
                            -->
                            
                        </div><!-- End. #Logo -->
                    </div><!-- End. .grid_12-->
                    <div style="clear: both;"></div>
                </div><!-- End. .container_12 -->
            </div> <!-- End #header-main -->
            <div style="clear: both;"></div>
            
        </div> <!-- End #header -->
        
        
			<?php echo $template['body'];?>
			
           
        <!-- Footer -->
        <div id="footer">
        	<div class="container_12">
            	<div class="grid_12">
                	<!-- You can change the copyright line for your own -->
                	<p>&copy; 2012. <a href="http://www.softingal.pt" title="softingal">softingal</a></p>
        		</div>
            </div>
            <div style="clear:both;"></div>
        </div> <!-- End #footer -->
        
        
        
        
        
        
        
</body>







</html>